package com.cskaoyan.bean.chaosbean.role.permissions.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author jackX
 * @datetime 2022/12/29 23:26
 * @description: TODO:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PerVO {
    private List<SystemPermissionsBean> systemPermissions;
    private List<String> assignedPermissions;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class SystemPermissionsBean {
        private String id;
        private String label;
        private List<ChildrenBeanX> children;
        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class ChildrenBeanX {
            private String id;
            private String label;
            private List<ChildrenBean> children;
            @Data
            @AllArgsConstructor
            @NoArgsConstructor
            public static class ChildrenBean {
                private String id;
                private String label;
                private String api;


            }
        }
    }
}

